package com.anjie.powerproject.strategy.pojo;

import com.anjie.powerproject.strategy.pojo.device.BaseDevice;

/**
 * 策略 / 编号 包装类
 */
public class Strategy {
    private Integer type;
    private String name;
    private Integer code;
    private BaseDevice device;

    public Strategy(Integer type, String name, Integer code, BaseDevice device) {
        this.type = type;
        this.name = name;
        this.code = code;
        this.device = device;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public BaseDevice getDevice() {
        return device;
    }

    public void setDevice(BaseDevice device) {
        this.device = device;
    }
}